package main

import (
	"gradetable/src/ctl"
	"net/http"
)

func main() {
	server := http.Server{Addr: ":8090"}
	// 保存
	http.HandleFunc("/grade/save", ctl.Save)
	// 查询全部
	http.HandleFunc("/grade/listall", ctl.ListAll)
	_ = server.ListenAndServe()

}
